#ifndef WIDGET_H
#define WIDGET_H

#include <QMessageBox>
#include <QWidget>
#include <qlineedit.h>
#include <qpushbutton.h>

class Widget : public QWidget
{
    Q_OBJECT

public:
    Widget(QWidget *parent = nullptr);
    ~Widget();
private:
    QLineEdit *lineEditIdCardNo;
    QPushButton *btnValidate;

    QString validateIdCardNoNotEmpty(QString &idCardNo);
private slots:
    void handleValidate();
};
#endif // WIDGET_H
